#current dir is inside packages-${DISTRO_FILE_PREFIX}/$GENERICNAME/ ...
# that is: packages-woof/openssh_client/

#slackware post-install script stuffs things up...
#note, 2createpackages renames slackware doinst.sh to pinstall.sh and moves
# it to woof-unleashed/sandbox2b directory.
#2createpackages will read this and not run the post-install script...

DISABLE_POST_INSTALL_SCRIPT=yes

[ -f etc/rc.d/rc.sshd.new ] && mkdir -p etc/init.d/ && \
mv etc/rc.d/rc.sshd.new etc/init.d/rc.sshd && chmod 644 etc/init.d/rc.sshd
[ -f etc/ssh/moduli ] && rm etc/ssh/moduli
[ -f etc/ssh/ssh_config.new ] && mv etc/ssh/ssh_config.new etc/ssh/ssh_config
[ -f etc/ssh/sshd_config.new ] && mv etc/ssh/sshd_config.new etc/ssh/sshd_config
